projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212288b
)
netifd: fixes for json-c 0.12
author
John Crispin
<
[email protected]
>
Thu, 5 Mar 2015 18:44:31 +0000
(19:44 +0100)
committer
Steven Barth
<
[email protected]
>
Fri, 6 Mar 2015 14:25:44 +0000
(15:25 +0100)
Signed-off-by: John Crispin <
[email protected]
>
CMakeLists.txt
patch
|
blob
|
history
handler.h
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e648b032c7dc118d50ea244b18bece3a7c8be2ed..85527bec08c370a53ff215d02cb18991bed9d3bc 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-18,9
+18,8
@@
SET(SOURCES
macvlan.c ubus.c vlandev.c wireless.c)
-find_library(json NAMES json-c json)
SET(LIBS
- ubox ubus uci
${json}
blobmsg_json)
+ ubox ubus uci
json-c
blobmsg_json)
IF (NOT DEFINED LIBNL_LIBS)
FIND_LIBRARY(libnl NAMES libnl-3 libnl nl-3 nl)
diff --git
a/handler.h
b/handler.h
index e96c05af13a3bbf9616d25b1c60a447b580d50e2..e3e2af5e86899a5a8f9be95c7719f565e44e2c22 100644
(file)
--- a/
handler.h
+++ b/
handler.h
@@
-15,7
+15,7
@@
#define __NETIFD_HANDLER_H
#include <libubox/blobmsg_json.h>
-#include <json/json.h>
+#include <json
-c
/json.h>
#include "config.h"
typedef void (*script_dump_cb)(const char *script, const char *name, json_object *obj);